<?php
/**
 *+------------------
 * Lflow
 *+------------------
 * Copyright (c) 2023~2030 gitee.com/liu_guan_qing All rights reserved.本版权不可删除，侵权必究
 *+------------------
 * Author: Mr.April(405784684@qq.com)
 *+------------------
 */
declare (strict_types=1);

namespace lflow\entity;

class TaskActor
{
    /**
     * 关联的任务ID
     */
    private string $task_id;

    /**
     * 关联的参与者ID（参与者可以为用户、部门、角色）
     */
    private string $actor_id;

    public function getTaskId(): string
    {
        return $this->task_id ?? '';
    }

    public function setTaskId(string $taskId): void
    {
        $this->task_id = $taskId;
    }

    public function getActorId(): string
    {
        return $this->actor_id ?? '';
    }

    public function setActorId(string $actorId): void
    {
        $this->actor_id = $actorId;
    }
}